Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODStorageUnitView


RemoveStorageUnitRef

The RemoveStorageUnitRef method makes a persistent reference invalid in the focused value.

ODStorageUnitView RemoveStorageUnitRef (
                                 in ODStorageUnitRef aRef);
aRef
The persistent reference to be removed.
return value
A reference to this storage-unit view.
DISCUSSION
This method does not change the data in the focused value, but after this method is called, the specified persistent reference is no longer valid. To remove data corresponding to the persistent reference, you must call the DeleteValue method.

EXCEPTIONS
kODErrUnfocusedStorageUnit
The focus context of this storage-unit view is not a value.
If the storage-unit cursor for this storage-unit view does not represent a legal focus context for the storage unit that created this storage-unit view, this method throws exceptions raised by the FocusWithCursor method of that storage unit.

SEE ALSO
The ODStorageUnitRef type (page 903).
The ODStorageUnitView::DeleteValue method (page 733).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help